$post_date = get_the_date( 'D M j' ); echo $post_date;
$post_date = get_the_date( 'l F j, Y' ); echo $post_date;
Posted on <?php the_time( 'l, F jS, Y' ); ?>.